import 'package:flutter/material.dart';
import 'package:flutter_day_01/DetailPage.dart';
import 'package:flutter_day_01/HomePage.dart';
import 'package:flutter_day_01/page/AnimationPage.dart';
import 'package:flutter_day_01/page/MainPage.dart';
import 'package:flutter_day_01/page/MinePage.dart';
import 'package:flutter_day_01/page/TestPage.dart';

class MyApp extends StatelessWidget {
  @override
  Widget build(Object context) {
    return MaterialApp(
      title: "TODO",
      theme: ThemeData(
          primarySwatch: Colors.blue,
          visualDensity: VisualDensity.adaptivePlatformDensity),
      home: MainPage(
        pages: [
          HomePage(title: 'TODO'),
          TestPage(),
          AnimationPage(),
          MinePage()
        ],
      ),
    );
  }
}
